package com.learn.training.multithread.chapter6.minchapter1.demo2;

public class Demo2 {
    public static void main(String[] args) throws InterruptedException {
        var add = new AddThread();
        var dec = new DecThread();
        add.start();
        dec.start();
        add.join();
        dec.join();
        System.out.println(Counter.count);
    }
}
